<template>
 <div class="cardbg_ntp">
    <div>由于官方平台限制无法识别到被@对象，需要输入QQ号。</div>
    <div>图片类可以使用@某人/QQ号 比如 bqbzz 搓 qq123456 | bqbzz 搓 @某人  </div>
    <div>自搭部署docker meetwq/meme-generator</div>
    <n-hr />

    <n-table :single-line="false">
      <thead>
        <tr>
          <th>类型名称</th>
          <th>所需参数</th>
          <th>使用例子</th>
        </tr>
      </thead>
      <tbody>
        <tr v-for="item in val.memelist">
          <td>{{ item.name }}</td>
          <td>
            <template v-for="item2 in item.type">
              <template v-if="item2 == 'text'">内容文字<br /></template>
              <template v-if="item2 == 'img'">图片<br /></template>
              <template v-if="item2 == 'textimg'">内容文字 图片</template>
              <template v-if="item2 == 'textx2'">内容文字1 内容文字2</template>
            </template>
          </td>
          <td>
            <template v-for="item2 in item.type">
              <template v-if="item2 == 'text'"
                >{{ val.main }} {{ item.name }} 内容文字</template
              >
              <template v-if="item2 == 'img'">
                {{ val.main }} {{ item.name }} 图片<br />
              </template>
              <template v-if="item2 == 'textimg'">
                {{ val.main }} {{ item.name }} 文字 图片
              </template>
              <template v-if="item2 == 'textx2'">
                {{ val.main }} {{ item.name }} 文字1 文字2
              </template>
            </template>
          </td>
        </tr>
      </tbody>
    </n-table>
  </div>

</template>

<script>
export default defineComponent({
  setup() {
    let val = reactive({
      main: "bqbzz",
      memelist: [
        {
          name: "喜报",
          type: ["text"],
        },
        {
          name: "悲报",
          type: ["text"],
        },
        {
          name: "许愿失败",
          type: ["text"],
        },
        {
          name: "震动",
          type: ["img"],
        },
        {
          name: "搓",
          type: ["img"],
        },
        {
          name: "转",
          type: ["img"],
        },
        {
          name: "风车转",
          type: ["img"],
        },
        {
          name: "结婚",
          type: ["img"],
        },
        {
          name: "离婚",
          type: ["img"],
        },
        {
          name: "爬",
          type: ["img"],
        },
        {
          name: "丢",
          type: ["img"],
        },
        {
          name: "膜拜",
          type: ["img"],
        },
        {
          name: "木鱼",
          type: ["img"],
        },
        {
          name: "我想上的",
          type: ["img"],
        },
        {
          name: "波纹",
          type: ["img"],
        },
        {
          name: "洗衣机",
          type: ["img"],
        },
        {
          name: "爬",
          type: ["img"],
        },
        {
          name: "丢",
          type: ["img"],
        },
        {
          name: "对称",
          type: ["img"],
        },
        {
          name: "寻狗",
          type: ["img"],
        },
        {
          name: "mihoyo",
          type: ["img"],
        },
        {
          name: "上坟",
          type: ["img"],
        },
        {
          name: "上香",
          type: ["img"],
        },
        {
          name: "捏脸",
          type: ["img"],
        },
        {
          name: "抖动",
          type: ["img"],
        },
        {
          name: "小丑",
          type: ["img"],
        },
        {
          name: "望远镜",
          type: ["img"],
        },
        {
          name: "狗都不玩",
          type: ["img"],
        },
        {
          name: "需要这个",
          type: ["img"],
        },
        {
          name: "炖",
          type: ["img"],
        },
        {
          name: "我老婆",
          type: ["img"],
        },
        {
          name: "宕机",
          type: ["img"],
        },
        {
          name: "加班",
          type: ["img"],
        },
        {
          name: "捣",
          type: ["img"],
        },
        {
          name: "像画",
          type: ["img"],
        },
        {
          name: "画家",
          type: ["img"],
        },
        {
          name: "伙伴加入",
          type: ["img"],
        },
        {
          name: "咖波拍",
          type: ["img"],
        },
        {
          name: "咖波撕",
          type: ["img"],
        },
        {
          name: "咖波蹭",
          type: ["img"],
        },
        {
          name: "咖波说",
          type: ["img"],
        },
        {
          name: "鬼畜",
          type: ["img"],
        },
        {
          name: "嘲讽",
          type: ["img"],
        },
        {
          name: "我想上",
          type: ["img"],
        },
        {
          name: "伙伴觉醒",
          type: ["img"],
        },
        {
          name: "咖波撞",
          type: ["img"],
        },
        {
          name: "可莉吃",
          type: ["img"],
        },
        {
          name: "芙莉莲",
          type: ["img"],
        },
        {
          name: "洗衣机",
          type: ["img"],
        },
        {
          name: "敲",
          type: ["img"],
        },
        {
          name: "卡比",
          type: ["img"],
        },
        {
          name: "阿尼亚喜欢",
          type: ["img"],
        },
        {
          name: "草神",
          type: ["img"],
        },
        {
          name: "拿捏",
          type: ["img"],
        },
        {
          name: "土豆",
          type: ["img"],
        },
        {
          name: "pr",
          type: ["img"],
        },
        {
          name: "举",
          type: ["img"],
        },
        {
          name: "rua",
          type: ["img"],
        },
        {
          name: "胡桃放大",
          type: ["img"],
        },
        {
          name: "胡桃平板",
          type: ["img"],
        },
        {
          name: "墙纸",
          type: ["img"],
        },
        {
          name: "为什么@我",
          type: ["img"],
        },
        {
          name: "你应该致电",
          type: ["textimg"],
        },
        {
          name: "最想要的东西",
          type: ["textimg"],
        },
        {
          name: "为什么要有手",
          type: ["textimg"],
        },
        {
          name: "youtube",
          type: ["textx2"],
        },
        {
          name: "吴京",
          type: ["textx2"],
        },
        {
          name: "汤姆笑",
          type: ["img"],
        },
        {
          name: "一起",
          type: ["textimg"],
        },
        {
          name: "紧紧贴着",
          type: ["img"],
        },
        {
          name: "锤爆",
          type: ["img"],
        },
        {
          name: "锤",
          type: ["img"],
        },
        {
          name: "掷",
          type: ["img"],
        },
        {
          name: "丢",
          type: ["img"],
        },
        {
          name: "十二生肖",
          type: ["img"],
        },
      ],
    });

    return {
      val,
    };
  },
});
</script>
